package org.am.ripple.bean;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class WalletProposeCmd {
    private String method;
    private List<Map<String, Object>> params = new ArrayList<>();

    public WalletProposeCmd(String passphrase) {
        this.method = "wallet_propose";
        Map<String, Object> param = new HashMap<>();
        param.put("passphrase", passphrase);
        params.add(param);
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public List<Map<String, Object>> getParams() {
        return params;
    }

    public void setParams(List<Map<String, Object>> params) {
        this.params = params;
    }
}
